#ifndef __DRIVER_MQ2_H__
#define __DRIVER_MQ2_H__

#include "main.h"

#define MQ2_Pin          GPIO_PIN_5
#define MQ2_GPIO_Port    GPIOA

extern ADC_HandleTypeDef MQ2_ADC;

void MQ2_ADC_Init(void);
void MQ2_ADC_GetValue(uint32_t *pData, uint32_t Length);

#endif 

